#!/bin/bash
yum install -y net-snmp-devel mysql-devel openssl-devel dos2unix autoconf automake binutils libtool gcc cpp glibc-headers kernel-headers glibc-devel help2man
tar zxvf cacti-spine-1.2.9.tar.gz
cd cacti-spine-1.2.9 
./bootstrap
#./configure --with-reentrant
./configure
make
make install
chown root:root /usr/local/spine/bin/spine
chmod +s /usr/local/spine/bin/spine
